package cc.lj.internal.coupons.domain.martcap.model.vo.convert;

import cc.lj.internal.coupons.domain.martcap.model.vo.CapBatchDO;
import cc.lj.internal.coupons.infrastructure.po.CapBatchPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 封顶额活动批次表PO 与 DO之间的转换
 * @author liangxifeng
 * @date 2021-12-11
 */
@Mapper
public interface CapBatchPOConvertDO {
    CapBatchPOConvertDO INSTANCE = Mappers.getMapper(CapBatchPOConvertDO.class);
    //do to po
    CapBatchPO convert(CapBatchDO capBatchDO);

    //po to do
    CapBatchDO convert(CapBatchPO capBatchPO);
}
